﻿using System;
using Abp.Application.Services.Dto;

namespace Camc.Quality.CodeFormat
{
    public class CodeFormatRuleDto : FullAuditedEntityDto<Guid>
    {
        /// <summary>
        ///     条码基础信息ID
        /// </summary>
        public Guid CodeFormatId { get; set; }

        /// <summary>
        ///     规则类型
        /// </summary>
        public int RuleKey { get; set; }

        /// <summary>
        ///     规则内容
        /// </summary>
        public string RuleValue { get; set; }

        ///// <summary>
        ///// 日期格式
        ///// </summary>
        //public string DateFormat { get; set; }
        /// <summary>
        ///     规则顺序
        /// </summary>
        public int RuleSort { get; set; }

        /// <summary>
        ///     长度
        /// </summary>
        public string SerialLength { get; set; }

        /// <summary>
        ///     流水码制
        /// </summary>
        public string Encoding { get; set; }

        /// <summary>
        ///     起始值
        /// </summary>
        public string StartNum { get; set; }

        /// <summary>
        ///     步长
        /// </summary>
        public string Step { get; set; }
    }
}